package com.guigu.www.service.impl;

import com.guigu.www.pojo.TQuestionBank;
import com.guigu.www.mapper.TQuestionBankMapper;
import com.guigu.www.pojo.TQuestionnaire;
import com.guigu.www.service.TQuestionBankService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 题库表 服务实现类
 * </p>
 *
 * @author yb
 * @since 2021-06-18
 */
@Service
public class TQuestionBankServiceImpl extends ServiceImpl<TQuestionBankMapper, TQuestionBank> implements TQuestionBankService {

    @Autowired
    TQuestionBankMapper mapper;


    @Override
    public List<TQuestionBank> seltqbank(TQuestionBank tQuestionBank) {
        TQuestionBank tQuestionBank1 = tQuestionBank.setQuestid(1);
        return mapper.seltqbank(tQuestionBank1);
    }
}
